FROM python:3.7-slim

MAINTAINER yangyuhang

RUN sed -i 's#http://deb.debian.org#https://mirrors.aliyun.com#g' /etc/apt/sources.list && \
    sed -i 's#http://security.debian.org#https://mirrors.aliyun.com#g' /etc/apt/sources.list && \
    apt-get update && \
    apt-get install -y gcc && \
    pip install numpy==1.19.1 pandas==1.1.1 -i https://mirrors.aliyun.com/pypi/simple/ && \
    rm -rf /root/.cache /tmp/*
